Optimal. Leaf size=111 \[ \frac {2 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{5 \left (c d^2-a e^2\right ) (d+e x)^4}+\frac {4 c d \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{15 \left (c d^2-a e^2\right )^2 (d+e x)^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 111, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.054, Rules used = {672, 664}
\begin {gather*} \frac {4 c d \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^{3/2}}{15 (d+e x)^3 \left (c d^2-a e^2\right )^2}+\frac {2 \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^{3/2}}{5 (d+e x)^4 \left (c d^2-a e^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 664
Rule 672
Rubi steps
\begin {align*} \int \frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{(d+e x)^4} \, dx &=\frac {2 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{5 \left (c d^2-a e^2\right ) (d+e x)^4}+\frac {(2 c d) \int \frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{(d+e x)^3} \, dx}{5 \left (c d^2-a e^2\right )}\\ &=\frac {2 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{5 \left (c d^2-a e^2\right ) (d+e x)^4}+\frac {4 c d \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{15 \left (c d^2-a e^2\right )^2 (d+e x)^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 61, normalized size = 0.55 \begin {gather*} \frac {2 ((a e+c d x) (d+e x))^{3/2} \left (-3 a e^2+c d (5 d+2 e x)\right )}{15 \left (c d^2-a e^2\right )^2 (d+e x)^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.73, size = 131, normalized size = 1.18
method | result | size |
gosper | \(-\frac {2 \left (c d x +a e \right ) \left (-2 c d e x +3 e^{2} a -5 c \,d^{2}\right ) \sqrt {c d e \,x^{2}+a \,e^{2} x +c \,d^{2} x +a d e}}{15 \left (e x +d \right )^{3} \left (a^{2} e^{4}-2 a c \,d^{2} e^{2}+c^{2} d^{4}\right )}\) | \(90\) |
trager | \(-\frac {2 \left (-2 e \,c^{2} d^{2} x^{2}+a c d \,e^{2} x -5 c^{2} d^{3} x +3 a^{2} e^{3}-5 d^{2} e a c \right ) \sqrt {c d e \,x^{2}+a \,e^{2} x +c \,d^{2} x +a d e}}{15 \left (a^{2} e^{4}-2 a c \,d^{2} e^{2}+c^{2} d^{4}\right ) \left (e x +d \right )^{3}}\) | \(109\) |
default | \(\frac {-\frac {2 \left (c d e \left (x +\frac {d}{e}\right )^{2}+\left (e^{2} a -c \,d^{2}\right ) \left (x +\frac {d}{e}\right )\right )^{\frac {3}{2}}}{5 \left (e^{2} a -c \,d^{2}\right ) \left (x +\frac {d}{e}\right )^{4}}+\frac {4 c d e \left (c d e \left (x +\frac {d}{e}\right )^{2}+\left (e^{2} a -c \,d^{2}\right ) \left (x +\frac {d}{e}\right )\right )^{\frac {3}{2}}}{15 \left (e^{2} a -c \,d^{2}\right )^{2} \left (x +\frac {d}{e}\right )^{3}}}{e^{4}}\) | \(131\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 4.57, size = 208, normalized size = 1.87 \begin {gather*} \frac {2 \, {\left (5 \, c^{2} d^{3} x - a c d x e^{2} - 3 \, a^{2} e^{3} + {\left (2 \, c^{2} d^{2} x^{2} + 5 \, a c d^{2}\right )} e\right )} \sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e}}{15 \, {\left (3 \, c^{2} d^{6} x e + c^{2} d^{7} + a^{2} x^{3} e^{7} + 3 \, a^{2} d x^{2} e^{6} - {\left (2 \, a c d^{2} x^{3} - 3 \, a^{2} d^{2} x\right )} e^{5} - {\left (6 \, a c d^{3} x^{2} - a^{2} d^{3}\right )} e^{4} + {\left (c^{2} d^{4} x^{3} - 6 \, a c d^{4} x\right )} e^{3} + {\left (3 \, c^{2} d^{5} x^{2} - 2 \, a c d^{5}\right )} e^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.40, size = 562, normalized size = 5.06 \begin {gather*} \frac {\left (\frac {4\,c^2\,d^3}{5\,\left (a\,e^2-c\,d^2\right )\,\left (3\,a\,e^3-3\,c\,d^2\,e\right )}-\frac {4\,a\,c\,d\,e^2}{5\,\left (a\,e^2-c\,d^2\right )\,\left (3\,a\,e^3-3\,c\,d^2\,e\right )}\right )\,\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}}{{\left (d+e\,x\right )}^2}-\frac {\left (\frac {2\,a\,e^2}{5\,a\,e^3-5\,c\,d^2\,e}-\frac {2\,c\,d^2}{5\,a\,e^3-5\,c\,d^2\,e}\right )\,\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}}{{\left (d+e\,x\right )}^3}+\frac {\left (\frac {4\,c^3\,d^4+4\,a\,c^2\,d^2\,e^2}{15\,e\,{\left (a\,e^2-c\,d^2\right )}^3}-\frac {8\,c^3\,d^4}{15\,e\,{\left (a\,e^2-c\,d^2\right )}^3}\right )\,\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}}{d+e\,x}+\frac {\left (\frac {2\,c^2\,d^3+2\,a\,c\,d\,e^2}{5\,\left (a\,e^2-c\,d^2\right )\,\left (3\,a\,e^3-3\,c\,d^2\,e\right )}-\frac {4\,c^2\,d^3}{5\,\left (a\,e^2-c\,d^2\right )\,\left (3\,a\,e^3-3\,c\,d^2\,e\right )}\right )\,\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}}{{\left (d+e\,x\right )}^2}+\frac {\left (\frac {8\,c^3\,d^4}{15\,e\,{\left (a\,e^2-c\,d^2\right )}^3}-\frac {8\,a\,c^2\,d^2\,e}{15\,{\left (a\,e^2-c\,d^2\right )}^3}\right )\,\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}}{d+e\,x}+\frac {8\,c^2\,d^2\,\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}}{15\,e\,{\left (a\,e^2-c\,d^2\right )}^2\,\left (d+e\,x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________